package cn.echoedu.dao;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

import cn.echoedu.daoconstants.TableName;
import cn.echoedu.entity.User;

public interface DAODelete {
	public abstract<T> boolean deleteFrom(Connection con,TableName tablename,T
			currentPojo) throws SQLException;

	public abstract boolean deleteByColumnFrom(Connection connection,
			TableName schoolNotifyImageTable, String string, String string2);

	public abstract boolean deleteBySql(Connection connection,
			TableName schoolNotifyImageTable, String sql);

	public abstract boolean deleteListBySqls(Connection conn,TableName tablename,
			List<String> sqls)throws SQLException;;

}
